home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / 360catcher.swf / scripts / frame_19 / PlaceObject2_493_818 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-07-21  |  665 b   |  34 lines

  1. onClipEvent(enterFrame){
  2.    if(moveon == false)
  3.    {
  4.       this.gotoAndStop(1);
  5.    }
  6.    if(this._currentframe >= 2 && this._currentframe < 17)
  7.    {
  8.       this.play();
  9.    }
  10.    if(this._currentframe == 17)
  11.    {
  12.       this._y += _root.ballsp;
  13.    }
  14.    if(this._y >= 720 && moveon == true)
  15.    {
  16.       this._y = -106;
  17.       moveon = false;
  18.    }
  19.    if(this.hitTest(_root.plat1) && this.end == false)
  20.    {
  21.       this._y = _root.plat1._y;
  22.       play();
  23.       _root.plat1._yscale = 30;
  24.       end = true;
  25.    }
  26.    if(this._currentframe == 30)
  27.    {
  28.       this._y = 720;
  29.       end = false;
  30.       this.gotoAndStop(1);
  31.       moveon = false;
  32.    }
  33. }
  34.